class UserAction {
  async login(body) {
    return await smsRequest.postBody({
      path: 'app/users/sign-in-or-up',
      body,
    });
  }

  async sendCaptchaSms({phone}) {
    return await smsRequest.get({
      path: 'app/users/sign-in-or-up/sms/code',
      params: {phone},
    });
  }
}

export default new UserAction();
